/**
 *	File in/out
 */
#pragma once

#include <fstream>
#include <Windows.h>
#include <vector>

class FileManagement {
public:
	FileManagement();
	~FileManagement();

	/**
	 *	Open/create file 
	 *
	 *	@param LPCWSTR file name
	 *	@return bool file exists
	 */
	bool Open(LPCWSTR);
	void Close(LPCWSTR);

	/*
		Write to file if exists
		@param LPCWSTR file name
		@param char* string to write to file
	*/
	void WriteTo(LPCWSTR, char*);

	/*
		Lets user know if file exists
		Warn overwritting
	*/
	bool fileExists(LPCWSTR);

private:
	std::vector<LPCWSTR> m_files;
};